package com.eastfair.venuebooking.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.eastfair.common.dto.AttachmentFileDTO;
import com.eastfair.common.vo.AttachmentFileVO;
import com.eastfair.venuebooking.entity.Space;
import com.eastfair.venuebooking.entity.SpacePriceUnit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.hibernate.validator.internal.util.logging.Log;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;

/**
 * <p>
 * vo
 * 场地表
 * </p>
 *
 * @author lyw
 * @since 2022-06-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
public class SpaceVO implements Serializable{


    private Long id;

    /**
     * 场地名称
     */
    @ApiModelProperty(value = "场地名称")
    private String spaceName;
    /**
     * 场地分类
     */
    @ApiModelProperty(value = "场地分类id")
    private Long spaceCategoryId;

    /**
     * 场地保证金
     */
    @ApiModelProperty(value = "场地保证金")
    private BigDecimal spaceDeposit;
    /**
     * 服务预付款
     */
    @ApiModelProperty(value = "服务预付款")
    private BigDecimal serviceAdvanceCharge;

    /**
     * 计价面积
     */
    @ApiModelProperty(value = "计价面积")
    private Double priceArea;
    /**
     * 建筑面积
     */
    @ApiModelProperty(value = "建筑面积")
    private Double buildArea;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
    /**
     * 所在位置
     */
    @ApiModelProperty(value = "所在位置")
    private String location;
    /**
     * VR地址
     */
    @ApiModelProperty(value = "VR地址")
    private String vrUrl;
    /**
     * 图纸数量
     */
    @ApiModelProperty(value = "图纸数量")
    private Integer attachmentCount;

    @ApiModelProperty(value = "场地计价方式")
    List<SpacePriceUnitVO>  spacePriceUnitVOList;

    @ApiModelProperty(value = "展厅图纸url")
    List<AttachmentFileVO> attachmentFileVOList;
    @ApiModelProperty(value = "展厅分类名称")
    private String categoryName;

    /**
     * 多个标签","隔开
     */
    @ApiModelProperty(value = "多个标签")
    private String tag;

    private Integer isDeleted;

    /**
     * 展位数量
     */
    @ApiModelProperty(value = "展位数量")
    private Integer siteNum;

    /**
     * 场地编码
     */
    @ApiModelProperty(value = "场地编码")
    private String spaceCode;



}
